package com.pbs.ui.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

import com.pbs.ui.R;

public class LoginDialog extends Dialog {

	public LoginDialog(Context context) {
		super(context, R.style.Dialog);
		LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		View layout = inflater.inflate(R.layout.login_dialog, null);
//		((Button) layout.findViewById(R.id.loginButton)).setOnClickListener(this);
//		((Button) layout.findViewById(R.id.cancelButton)).setOnClickListener(this);
		setContentView(layout);
	}

public void loginAction(View v){
	switch(v.getId()){
	case R.id.cmd_login:break;
	case R.id.cmd_canel_login:{
		dismiss();
	}
	}
}

}
